package cn.edu.imau.zy.common.core.entity.teacher;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import cn.edu.imau.zy.common.annotation.Excel;
import cn.edu.imau.zy.common.core.domain.BaseEntity;

import java.time.LocalDate;

/**
 * 教师信息对象 tc_teacher
 * 
 * @author wyz
 * @date 2020-06-23
 */
@Data
@ToString
public class TcTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师id */
    private String teacherId;

    /** 工号 */
    @Excel(name = "工号")
    private String jobNumber;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 出生日期 */
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private LocalDate birthday;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalStatus;

    /** 电子邮件 */
    @Excel(name = "电子邮件")
    private String email;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String telphone;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 职称 */
    @Excel(name = "职称")
    private String jobTitle;

    /** 职称时间 */
    @Excel(name = "职称时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private LocalDate jobTime;

    /** 聘任岗位 */
    @Excel(name = "聘任岗位")
    private String appoTitle;

    /** 聘任时间 */
    @Excel(name = "聘任时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private LocalDate appoTime;


}
